<html>
<body>
<head>
<style>
#test
{
	border-top: 8px solid yellow;
	border-bottom: 8px solid green;
	border-left: 8px solid brown;
	border-right: 8px solid blue;
	-moz-border-bottom-colors: #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-moz-border-top-colors:    #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-moz-border-left-colors:   #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-moz-border-right-colors:  #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-webkit-border-bottom-colors: #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-webkit-border-top-colors:    #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-webkit-border-left-colors:   #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-webkit-border-right-colors:  #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	border-bottom-colors: #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	border-top-colors:    #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	border-left-colors:   #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	border-right-colors:  #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-o-border-bottom-colors: #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-o-border-top-colors:    #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-o-border-left-colors:   #555 #666 #777 #888 #999 #aaa #bbb #ccc;
	-o-border-right-colors:  #555 #666 #777 #888 #999 #aaa #bbb #ccc;
}
#test2
{
	border: 8px solid #000;
	-moz-border-bottom-colors: #555 #328 #777 #ccc #888 #fff #aaa #bbb ; 
	-moz-border-top-colors:    #555 #328 #777 #ccc #888 #fff #aaa #bbb ;
	-moz-border-left-colors:   #555 #328 #777 #ccc #888 #fff #aaa #bbb ;
	-moz-border-right-colors:  #555 #328 #777 #ccc #888 #fff #aaa #bbb ;
	-webkit-border-bottom-colors: #555 #328 #777 #ccc #888 #fff #aaa #bbb ; 
	-webkit-border-top-colors:    #555 #328 #777 #ccc #888 #fff #aaa #bbb ;
	-webkit-border-left-colors:   #555 #328 #777 #ccc #888 #fff #aaa #bbb ;
	-webkit-border-right-colors:  #555 #328 #777 #ccc #888 #fff #aaa #bbb ;
	border-bottom-colors: #555 #328 #777 #ccc #888 #fff #aaa #bbb ; 
	border-top-colors:    #555 #328 #777 #ccc #888 #fff #aaa #bbb ;
	border-left-colors:   #555 #328 #777 #ccc #888 #fff #aaa #bbb ;
	border-right-colors:  #555 #328 #777 #ccc #888 #fff #aaa #bbb ;
	
}


</style>
</head>

<div id="test" style="width: 100px; height: 100px; "></div>

<div id="test2" style="margin-top: 30px; width: 100px; height: 100px; background:red"></div>
</body>
</html>